<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/tags/zc" prefix="zc"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="zcx"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<table id="dataTable" class="table table-data">
    <tr class="head">
        <td style="width: 50px">序号</td>
        <td>投标项目名称</td>
        <td>采购方式</td>
        <td>所属部门</td>
        <td>项目负责人</td>
        <td>投标日期</td>
        <td>材料申请日期</td>
        <td style="width: 120px">操作</td>
    </tr>
    <c:forEach items="${r"${"}list${className?cap_first!}}" var="${className!}" varStatus="xh">
        <tr <zcx:zebra sxh="${r"${"}xh.index}"/>>
        <td>${r"${"}xh.index+1}</td>
        <td class="tleft">${r"${"}${className!}.xmmc}</td>
        <td>${r"${"}zc:mcByKey('CGFS', ${className!}.cgfs)}</td>
        <td>${r"${"}${className!}.ssbm}</td>
        <td>${r"${"}${className!}.xmlxr}</td>
        <td>${r"${"}zc:dateFormat(${className!}.tbsj)}</td>
        <td>${r"${"}zc:dateFormat(${className!}.tjsqsj)}</td>

        <td>
            <c:choose>
                <c:when test="${r"${"}${className!}.shzt== 0}">
                    <zcx:link onclick="edit${className?cap_first!}('${r"${"}${className!}.id}')" type="editt">编辑</zcx:link>
                    <zcx:link onclick="del${className?cap_first!}('${r"${"}${className!}.id}')" type="delt">删除</zcx:link>
                </c:when>
                <c:otherwise>
                    <zcx:link onclick="view${className?cap_first!}('${r"${"}${className!}.id}')" type="previewt">查看</zcx:link>
                </c:otherwise>
            </c:choose>
        </td>
        </tr>
    </c:forEach>
    <c:if test="${r"${"}fn:length(list${className?cap_first!})==0${r"}"}" >
        <tr>
            <td colspan="2"><span class="gb color secondary">暂无信息</span></td>
        </tr>
    </c:if>
    <zcx:split ys="2"  colspan="2" action="/${packageName!}/${className!}/icList${className?cap_first!}.do" container="dataC" />
</table>
